package com.lemon.ui.codemaker.window;

import java.awt.EventQueue;
import java.awt.Font;

import javax.swing.JDialog;
import javax.swing.JLabel;

public class ProcessWindow extends JDialog {

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					ProcessWindow dialog = new ProcessWindow();
					dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
					dialog.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the dialog.
	 */
	public ProcessWindow() {
		setType(Type.POPUP);
		setModal(true);
		setResizable(false);
		setTitle("处理中");
		setBounds(100, 100, 429, 152);
		getContentPane().setLayout(null);
		
		JLabel lblNewLabel = new JLabel("系统编译中，请稍后……");
		lblNewLabel.setFont(new Font("微软雅黑", Font.PLAIN, 17));
		lblNewLabel.setBounds(59, 41, 212, 29);
		getContentPane().add(lblNewLabel);

	}
}
